package com.mtjsoft.www.kotlinmvputils.config;

import android.os.Environment;

/**
 * Created by MSI1 on 2017/2/28.
 */

public class ChaoBiaoConfig {

    //高平现场111.53.154.15:9005  105  123456
    public static final String BASEURL = "http://124.164.249.16:9800/";
    public static final String BASEURL_SCADA = "http://124.164.249.16:9001/Bussiness_InterFace/SaveReportEvents.ashx?";
    public static final String POINT_URL = "http://124.164.249.16:9001/ashx/GetAllSBJInfo.ashx?";

    //测试 admin  12345678
   /* public static final String BASEURL = "http://192.168.2.121:1003/";
    //public static final String BASEURL = "http://1.194.232.201:8002/";
    public static final String BASEURL_SCADA = "http://192.168.10.120:20071/Bussiness_InterFace/SaveReportEvents.ashx?";
    public static final String POINT_URL = "http://192.168.10.130:1999/ashx/GetAllSBJInfo.ashx?";*/


    //上传抄表&&表井数据地址
    public static final String UPINFO = BASEURL + "ReadMeterAPI/UploadReadMeterData.ashx";
    //水费通知查询
    public static final String WATERCHARGE = BASEURL + "ReadMeterAPI/UploadReadMeterData.ashx";
    //欠费记录查询
    public static final String ARREARSINFO = BASEURL + "PublicWebAPI/OweRecord.ashx";
    //用水明细
    public static final String WATERDETAIL = BASEURL + "PublicWebAPI/OweRecord.ashx";
    //收费记录
    public static final String CHARGEINFO = BASEURL + "PublicWebAPI/PayRecord.ashx";
    //通水通知
    public static final String THROUGHWATER = BASEURL + "ReadMeterAPI/ReadMeterLogin.ashx";
    //修改用水状态
    public static final String USERSTATE = BASEURL + "ReadMeterAPI/StopWaterHandle.ashx";
    //访问的IP地址
    public static final String HTTPURL = BASEURL + "ReadMeterAPI/ReadMeterLogin.ashx";
    /**
     * 通知公告列表
     */
    public static final String COMPANYNOTICE = BASEURL + "publicwebapi/PublicAPI.ashx?OperType=LoadInfoNotice&callback=?";
    /**
     * 通知公告详情
     */
    public static final String COMPANYNOTICECON = BASEURL + "publicwebapi/PublicAPI.ashx";
    //数据库路径(所在文件夹)
    public static final String DBPATH = Environment.getExternalStorageDirectory() + "/ChaoBiaoApp";
    /**
     * 数据库名字
     */
    public static final String DBNAME = "ChaoBiao.db";
    /**
     * 数据库版本号
     */
    public static final int DBVERSION = 1;
    /**
     * 照片的存储位置
     */
    public static final String SAVE_PICTURE_PATH = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).getAbsolutePath() + "/ChaoBiaoP";
    /**
     * 上传轨迹
     */
    public static final String UPCOORDINATE = BASEURL + "ReadMeterAPI/ReadMeterWay.ashx";
}
